<template>
  <div>
    <button :type="buttonType">Test button</button>
    <br />
    <button :disabled="buttonDisabled">Test button2</button>
    <button @click="buttonDisabled=!buttonDisabled">{{buttonDisabled ? '选中' : '不选中'}}</button>
    <hr />
  </div>
</template>

<script setup>
import { ref } from 'vue'
const buttonType = "submit"
const buttonDisabled = ref(true)
</script>

<style scoped>

</style>